cmake_minimum_required(VERSION 3.10)
project( showdata )
set( CMAKE_BUILD_TYPE "Release" )
set( CMAKE_CXX_FLAGS "-std=c++11 -O3" )

list( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules )

find_package( Ceres REQUIRED )
include_directories( ${CERES_INCLUDE_DIRS} )
include_directories(include)

aux_source_directory(src DIR_SRCS)
add_library(track ${DIR_SRCS})

find_package( OpenCV REQUIRED )
add_executable( showdata wind_fit.cpp )
target_link_libraries(showdata track)
target_link_libraries( showdata ${CERES_LIBRARIES} ${OpenCV_LIBS} )
